<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-body">
                <form action="" class="form-horizontal row-fluid"  data-validate="parsley" id="validate-form">
                	<div class="row">
                		<!-- parsley.min.js -->
                		 <div class="form-group">
                    		<label class="col-sm-3 control-label" >名称:</label>
                    		<div class="col-sm-6">
                    			<input type="text"  value="{$model.name}"  placeholder="名称"   required="required" name="name"  class="form-control" id="name"/>
                    		</div>
                   		 </div>
                	</div>
                	
                	<div class="row">
                		 <div class="form-group">
                    		<label class="col-sm-3 control-label" >手机:</label>
                    		<div class="col-sm-6">
                    			<input type="text" data-minlength="11"  data-maxlength="11"   value="{$model.mobile}" placeholder="手机"   required="required" name="mobile"  class="form-control" id="mobile"/>
                    		</div>
                   		 </div>
                	</div>
                	
                	<div class="row">
                		 <div class="form-group">
                    		<label class="col-sm-3 control-label" >性别:</label>
                    		<div class="col-sm-6">
                    			<select class="form-control" name="sex">
                    				<option value="1" {eq name="model.sex" value="1"}selected{/eq} >男</option>
                    				<option value="2" {eq name="model.sex" value="2"}selected{/eq} >女</option>
                    			</select>
                    		</div>
                   		 </div>
                	</div>
                	<div class="row">
                		 <div class="form-group">
                    		<label class="col-sm-3 control-label" >是否开通手机端:</label>
                    		<div class="col-sm-6">
                    			<select class="form-control" name="web_open_up">
                    				<option value="0" {eq name="model.web_open_up" value="0"}selected{/eq} >不开通</option>
                    				<option value="1" {eq name="model.web_open_up" value="1"}selected{/eq} >开通</option>
                    			</select>
                    		</div>
                   		 </div>
                	</div>
                	
                	<div class="row">
                		 <div class="form-group">
                    		<label class="col-sm-3 control-label" >职务（enter键结束）:</label>
                    		<div class="col-sm-6">
                    			<input type="text"  id="tokenfield" name="position" value="{$model.position}" class="form-control" />
                    		</div>
                   		 </div>
                	</div>
                	
                	<div class="row">
                		<!-- parsley.min.js -->
                		 <div class="form-group">
                    		<label class="col-sm-3 control-label" >描述:</label>
                    		<div class="col-sm-6">
                    			<textarea  placeholder="描述" rows="3"   class="form-control" name="descs" id="descs">{$model.descs}</textarea>
                    		</div>
                   		 </div>
                	</div>
                	<input type="hidden" value="2" name="type" />
                	<input type="hidden" value="{$model.id}" name="id" />
                	<input type="hidden" value="{$model.mobile}" name="old_mobile" />
                    </form>
                </div>
                
                
                <div class="panel-footer">
	                <div class="row">
	                    <div class="col-sm-6 col-sm-offset-3">
	                        <div class="btn-toolbar">
	                            <div class="row">
			                		 <div class="form-group">
			                    		<div class="col-sm-3">
			                    			 <div class="btn-primary btn" id="form-submit">提交</div>
			                    		</div>
			                    		<div class="col-sm-3">
			                    			 <div class="btn-default btn" data-dismiss="modal">关闭</div>
			                    		</div>
			                   		 </div>
	                			</div>
	                        </div>
	                    </div>
	                </div>
            	</div>
                
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.GYM_VIEW_JS}employee/edit_2.js'></script>